<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试页面</title>
    <script type="text/javascript" src="../resources/js/shop/base/jquery-1.11.2.min.js"></script>
</head>
<body>
   <script type="text/javascript">
       $(function () {
           var formData=new FormData();
           formData.append('name','lily');
           formData.append('age','13');
           $.ajax({
               url: '/o2o/test',
               data: formData,
               type : 'POST',
               processData: false,
               contentType: false
           })
       })
   </script>
</body>
</html>